package com.clickpaas.governmentcloud.entity.portalentity.rep;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 方延杰
 * @version 1.0
 * @since 2020/11/11 10:44 上午
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class MenusRep {

    @ApiModelProperty("主管部门主数据")
    private List<String> competentDepartmentMainData = new ArrayList<>();

    @ApiModelProperty("申报状态主数据")
    private List<String> applicationStatusMainData = new ArrayList<>();

    @ApiModelProperty("总数")
    private Integer total;

    private List<PolicyApplicationDemonstration> policyApplicationDemonstrations = new ArrayList<>();

    @Data
    @NoArgsConstructor
    @ApiModel("政策申报栏位详情")
    public static class PolicyApplicationDemonstration {

        @ApiModelProperty("名称")
        private String name;

        @ApiModelProperty("主管部门")
        private String competentDepartment;

        @ApiModelProperty("项目类别名称")
        private String projectName;

        @ApiModelProperty("申报状态")
        private String applicationStatus;

        @ApiModelProperty("开始日期")
        private String startDate;

        @ApiModelProperty("结束日期")
        private String deadline;

        @ApiModelProperty("截止天数")
        private Integer days;

        @ApiModelProperty("政策原文")
        private String orginalArticle;

        @ApiModelProperty("我要申报")
        private String applicationstring;

    }

}
